<template>
	<div class="mapbox">
		<div class="mapheader">
			<pbheader></pbheader>
		</div>
		<div class="maps">
			<b-map-component></b-map-component>
			<div class="mapback" @click="backs"><span></span></div>
		</div>
		<div class="mapfoot">
			<div class="tomap">
				<i></i>
				<p>到这去</p>
			</div>
			<div class="thismap">
				<p>万豪酒店国贸中心</p>
				<p>青年路38号</p>
			</div>
			<div class="iconlist">
				<div><i></i><span>地铁</span></div>
				<div><i></i><span>公交</span></div>
				<div><i></i><span>餐厅</span></div>
				<div><i></i><span>银行</span></div>
			</div>
		</div>
	</div>
</template>

<script>
	import BMapComponent from '@/components/particulars/public/BMapComponent'
	import pbheader from '@/components/particulars/public/pbheader'
	export default {
		data() {
			return {

			}

		},
		components: {
			BMapComponent,pbheader
		},
		methods:{
			backs:function(){
				this.$router.back();
			}
		}
	};
</script>

<style scoped="scoped">
	

	
	
	
	.tomap {
		width: 1.2rem;
		height: 1.2rem;
		background: #fb3;
		text-align: center;
		border-radius: 50%;
		position: absolute;
		top: -0.6rem;
		right: 0.3rem;
		box-shadow: 0px -1px 5px 1px #999999;
	}
	
	.tomap>i {
		display: block;
		background: url(../../../static/imgage/icons.png) no-repeat;
		background-size: 9rem 9rem;
		width: .72rem;
		height: .8rem;
		background-position: -8.2rem -3.08rem;
		margin-left: 0.1rem;
	}
	
	.tomap>p {
		font-size: 0.2rem;
		color: white;
	}
	
	.thismap {
		width: 100%;
		height: 1.7rem;
		padding: 0.2rem;
		box-sizing: border-box;
		border-bottom: 1px solid #F1F1F1;
	}
	
	.thismap>p:first-of-type {
		width: 100%;
		height: 0.7rem;
		font-size: 0.4rem;
		color: #333333;
		line-height: 0.7rem;
	}
	
	.thismap>p:last-of-type {
		width: 100%;
		height: 0.6rem;
		font-size: 0.25rem;
		color: #666;
		line-height: 0.6rem;
	}
	
	.mapbox {
		width: 7.5rem;
		height: auto;
	}
	
	.mapheader {
		width: 7.5rem;
		height: 0.8rem;
		background: #333333;
		color: white;
	}
	
	.maps {
		width: 7.5rem;
		height: 9.8rem;
		position: relative;
	}
	
	.maps>b-map-component {
		width: 100% !important;
		height: 8rem !important;
	}
	
	.mapback {
		width: 0.8rem;
		height: 0.8rem;
		background: rgba(0, 0, 0, 0.5);
		position: absolute;
		top: 0.2rem;
		left: 0.2rem;
		border-radius: 50%;
	}
	
	.mapback>span {
		display: block;
		width: 0.8rem;
		height: 0.8rem;
		background: url(../../../static/imgage/icons.png) no-repeat;
		background-size: 8rem 8rem;
		z-index: 4;
		background-position: -3.35rem -1.8rem;
		position: absolute;
		top: -.04rem;
		left: -.13333333rem;
	}
	
	.mapfoot {
		width: 7.5rem;
		height: 2.7rem;
		position: relative;
	}
	.iconlist>div>span {
		font-size: 0.25rem;
		color: #f90;
		line-height: 0.1rem;
	}
	.iconlist>div:first-of-type>i {
		background-position: 0 -8.66666667rem;
	}
	.iconlist>div:nth-of-type(2)>i {
		background-position: -1rem -8.66666667rem;
	}
	.iconlist>div:nth-of-type(3)>i {
		background-position: -1.9rem -8.66666667rem;
	}
	.iconlist>div:nth-of-type(4)>i {
		background-position: -2.9rem -8.66666667rem;
	}
	.iconlist {
		width: 7.5rem;
		height: 1rem;
		display: flex;
		justify-content: space-around;
	}
	.iconlist>div{
		width: 1.3rem;
		height: 0.5rem;
		margin-top: 0.25rem;
	}
	.iconlist i{
		display: inline-block;
		width: .48rem;
		height: .48rem;
		background: url(../../../static/imgage/icons.png) no-repeat;
		background-size: 10rem 10rem;
		vertical-align: -.10666667rem;
		margin: 0 .06666667rem 0 0;
	}
</style>